package com.sc.nft.service;


import com.sc.nft.entity.EcologyPoints;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sc.nft.entity.dto.AdminEcologyPointsDTO;
import com.sc.nft.entity.vo.ecology.AdminEcologyPointsDetailsVO;
import com.sc.nft.entity.vo.ecology.AdminEcologyPointsPageVO;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 * 生态积分表 服务类
 * </p>
 *
 * @author liGen
 * @since 2024-11-26
 */
public interface EcologyPointsService {

    EcologyPoints getById(Long id);


    /**
     * 编辑 生态积分
     * @param adminEcologyPointsDTO
     */
    void editCrystal(AdminEcologyPointsDTO adminEcologyPointsDTO);

    /**
     * 积分列表 根据daoId
     * @param daoId
     * @param pageNo
     * @param pageSize
     * @return
     */
    IPage<AdminEcologyPointsPageVO> adminEcologyPointsPage(Long daoId, Integer pageNo, Integer pageSize);

    /**
     * 积分详情
     * @param id
     * @return
     */
    AdminEcologyPointsDetailsVO adminEcologyPointsDetails(Long id);


}
